//
//  DatePickerView.swift
//  worldexchange
//
//  Created by xionghao on 2019/2/18.
//  Copyright © 2019 xionghao. All rights reserved.
//

import UIKit

class DatePickerView: UIView {

    @IBOutlet weak var okBtn: UIButton!
    @IBOutlet weak var canBtn: UIButton!
    @IBOutlet weak var pickerView: UIPickerView!
    
    
    
    
    @IBAction func btnAction(_ sender: UIButton) {
        
    }
    
    static func loadView()->DatePickerView {
        let view = Bundle.main.loadNibNamed("DatePickerView", owner: nil, options: nil)?.last as! DatePickerView
        return view
    }
    
    override func awakeFromNib() {
//        self.pickerView.delegate = self
//        self.pickerView.dataSource = self
    }
    
    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */

}
